package cn.aj.org.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class EmployeeDto {
    @NotBlank(message = "管理员姓名不能为空!")
    private String username;
    @NotBlank(message = "管理员邮箱不能为空!")
    private String email;
    @NotBlank(message = "管理员电话不能为空!")
    private String phone;

}
